


export interface IAiPicItem { 
    id: number;
    preview: string;
    width?: number;
    height?: number;
    format?: string;
    quality?: string;
    isdel?: number;
    isSynthesis?: boolean;
}
export interface IMessageItem { 
    id: string;
    type: string;
    content?: string;
    job?: string;
    // 当前进度条走向
    step?: number;
    isBig?: boolean;
    created?: string;
    num?:number;
    pid?: string;
    isSynthesis?: boolean;
    style?: string;
    definition?: string;
    format?: string;
    channel_id?: string;
    is_synthesis?: string;
    picList?:IAiPicItem[]
}

// 接口返回的messageItem
export interface IResultMessgeItem { 
    id: string;
    format: string;
    list: { id: number; preview:string}[];
    jobid: string;
    preview: string;
    prompt: string;
    style: string;
    status: string;
    num:number;
    created: string;
    is_synthesis: string;
    pid: string;
    definition: string;
}

// check 生成图片接口返回的数据
export interface IResultCheckAiPic {
    files: IAiPicItem[];
    status: string;
    width: number;
    height: number;
    time: number;
    preview: string;
}